 <script>
 var myvar;
 myvar="<%=request.getContextPath()%>";
	function gettopnavlink(id) {
		if(id == 'admin'){
		window.location.href = myvar+"/admin/supplier/addSupplier";
			}
	}

</script>
<div class="leftPane"> 
	<ul class="leftMenu">  
	
		<li class="button"><a href = "<%=request.getContextPath()%>/admin/home">ADMIN</a></li>
		<li class="button"><a href="<%=request.getContextPath()%>/user/home" id = "user">USER</a></li>
		<li class="button"><a href="#" id = "support">SUPPORT</a></li>
		<li class="button"><a href="#" id = "contactus">CONTACT US</a></li>
	 </ul>  
  </div>  
<!-- 
	<div>
		<c:if test="${pageContext.request.userPrincipal.name != null}">
			<h2>
				Welcome: ${pageContext.request.userPrincipal.name} | <a
					href="javascript:logout()">logout</a>
			</h2>
		</c:if>
	</div>
</body>
</html> -->
